<template>
  <el-form-item v-if="!hasConfig('optionItems')" :label="i18nt('designer.setting.defaultValue')">
    <el-input
      v-model="optionModel.defaultValue"
      type="text"
      @change="emitDefaultValueChange"
    ></el-input>
  </el-form-item>
</template>

<script>
import propertyMixin from '@/mixins/propertyMixin'

export default {
  name: 'DefaultValueEditor',
  mixins: [propertyMixin],
  props: {
    designer: Object,
    selectedWidget: Object,
    optionModel: Object
  }
}
</script>

<style scoped></style>
